package redis

import "strconv"

func CreateStock(shopId int, stock int) {
	Num := "stock:shop_id_" + strconv.Itoa(shopId)
	for i := 0; i < stock; i++ {
		Rdb.LPush(Ctx, Num, shopId)
	}
}
